#!/bin/bash

offset="../" # Where the repo's root is relative to the script
path=`echo $0 | sed "s/\/[^/]*$/\//"` # Remove script name from location
cd $path/$offset

echo "Setting files to add/remove"
hg addremove

echo "Committing"
hg commit

echo "Pushing changes"
hg push

echo "Exiting script"
exit
